package 勤工俭学;

public class Student { 
	public String name;
	public double income;
	public String tab1;
	public String tab2;

	public Student(String name, double income, String tab1, String tab2) {
		this.name = name;
		this.income = income;
		this.tab1 = tab1;
		this.tab2 = tab2;
	}


	public String name() {
		return name;
	}

	public double getmoney() {
		return income;
	}

	public String tab1() {
		return tab1;
	}

	public String tab2() {
		return tab1;
	}
	
	public String toString() {
		return "学生姓名：" + name + "   学生负责的实验室1:" + tab1 + "   学生负责的实验室2:" + tab2;
	}
	
}